package com.javabase.shuzu.Array;

public class HomeWork03 {
    public static void main(String[] args) {
        int num = 1;
        while(num<10){
            System.out.println(num);
            if (num>5){
                break;
                //输出1 3 5 7 因为break会跳出循环!!1
            }
            num+=2;
        }
    }
}
